﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class VShopExtendInfoConfig : EntityTypeConfiguration<VShopExtendInfo>
    {
        public VShopExtendInfoConfig()
        {
            ToTable("Himall_VShopExtend ");
          
            HasRequired(x => x.VShopInfo).WithMany(x => x.VShopExtendInfo).HasForeignKey(x => x.VShopId);
        }
    }
}
